#ifndef COINS_H
#define COINS_H

#include <QPushButton>

class Coins : public QPushButton
{
    Q_OBJECT
public:
    Coins(QString btnImag);
    void loadPng(QString btnImag);
    void Flip();

    std::pair<int, int> pos;
    bool isGold;
    bool hasWon = false;
    virtual void mousePressEvent(QMouseEvent* ev);
private:
    int min = 1;
    int max = 8;
    QTimer* timer1 = nullptr;
    QTimer* timer2 = nullptr;


signals:
};

#endif // COINS_H
